/* 
 * The Generator interface exposes functions which are used
 * by sub-components of the dungeon generator to call other
 * generator components.
 * 
 * The dungeon generator itself is found in the graph and dungeon modules.
 */
 
#ifndef GENERATOR_H_
#define GENERATOR_H_

// #include "dig.h" // no Dig struct yet
#include "layout.h"
#include "util/rect.h"

typedef struct
{
	int (*gen_room) (Layout* layout, int width, int height,
	                 int* root, int n_roots);
	void (*get_room) (Layout* layout, int id, Room** room);
} Generator;

#endif
